<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
                template="./template.xhtml"
                xmlns:h="http://java.sun.com/jsf/html">

    <ui:define name="top">
        Login
    </ui:define>

    <ui:define name="left">
    </ui:define>



    <ui:define name="body">
        <h:form id="loginForm">
            <h:panelGrid columns="3" border="0">
                <h:outputLabel for="login">Username:</h:outputLabel>
                <h:panelGroup/>
                <h:inputText id="login"/>
                
                <h:outputLabel for="password">Password:</h:outputLabel>
                <h:panelGroup/>
                <h:inputSecret id="password"/>
                
                <h:commandButton value="Submit" action="#{userCTRL.login}"/>
                <h:commandButton type="reset" value="Reset"/>
            </h:panelGrid>
        </h:form>
    </ui:define>

</ui:composition>
